package top.dotgo.model.biz;

import java.util.Date;
import java.io.Serializable;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.annotations.GenericGenerator;
import top.dotgo.model.IBaseEntity;

import javax.persistence.*;

/**
 * 用户信息表(BizUser)实体类
 *
 * @author jornl
 * @date 2020-05-21 00:03:49
 */
@Entity
@Data
@Accessors(chain = true)
@Table(name = "biz_user")
public class BizUserEntity implements IBaseEntity, Serializable {
       
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO, generator = "custom-id")
    @GenericGenerator(name = "custom-id", strategy = "top.dotgo.model.kit.CustomIDGenerator")
     @Column(name = "id")
     private Long id;
    
    /**
     * 账号id
     */
     @Column(name = "acc_id")
     private Long accId;
    
    /**
     * 性别：0女，1男
     */
     @Column(name = "gender")
     private Integer gender;
    
    /**
     * 年龄
     */
     @Column(name = "age")
     private Integer age;
    
    /**
     * 头像
     */
     @Column(name = "head_pic")
     private String headPic;
    
    /**
     * 纬度
     */
     @Column(name = "lat")
     private String lat;
    
    /**
     * 经度
     */
     @Column(name = "lon")
     private String lon;
    
    /**
     * 详细地址
     */
     @Column(name = "address")
     private String address;
    
    /**
     * 创建人
     */
     @Column(name = "create_by")
     private Long createBy;
    
    /**
     * 创建时间
     */
     @Column(name = "create_time")
     private Date createTime;
    
    /**
     * 修改人
     */
     @Column(name = "edit_by")
     private Long editBy;
    
    /**
     * 修改时间
     */
     @Column(name = "edit_time")
     private Date editTime;
    
    /**
     * 删除人
     */
     @Column(name = "del_by")
     private Long delBy;
    
    /**
     * 删除时间
     */
     @Column(name = "del_time")
     private Date delTime;
    
    /**
     * 状态：0禁用，1可用
     */
     @Column(name = "status")
     private Integer status;
    


}